#include "senseVar.h"
using namespace std;

string SenseVar::getQuality()
{
    return quality;
}

string SenseVar::getWidth()
{
    return width;
}

double SenseVar::getValue1()
{
    return value1;
}

double SenseVar::getValue2()
{
    return value2;
}

void SenseVar::setQuality(string a)
{
    quality.clear();
    quality=a;
}
void SenseVar::setWidth(string a)
{
    width.clear();
    width=a;
}
void SenseVar::setValue(vector<string> a)
{
    if (a.size()==1)
    {
        stringstream ss(a[0]);
        ss>>value1;
        ss.str("");
    }
    else
    {
        stringstream ss;
        ss<< a[0]<<" "<<a[1];
        ss>>value1>>value2;
        ss.str("");
    }

}
